package com.th3t.enhance.jmx;

public class Light implements LightMBean {

	private String status = "off";
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String status() {
		return "The light has turn " + this.status;
	}

	public void on() {
		this.status = "on";
 	}


	public void off() {
		this.status = "off";
	}
}
